//
//  GLPresetDelegate.h
//  HGLAnimation
//
//  Created by huang long on 17/1/18.
//  Copyright © 2017年 huang gu long. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GLBaseAnimatedTransition.h"
#import "GLTransferInsetsObject.h"
typedef enum : NSUInteger {
    GLTransitioningPresentTypeFlip,
    GLTransitioningPresentTypeMove,
    GLTransitioningPresentTypeSpring,
    GLTransitioningPresentTypeKeyframe,
    GLTransitioningPresentTypeBottomPresent,
    GLTransitioningPresentTypeCircle,
    GLTransitioningPresentTypeSystem,
} GLTransitioningPresentType;//GLBottomPresentAnimatedTransition

@interface GLTransitioningDelegate : NSObject<UIViewControllerTransitioningDelegate,UINavigationControllerDelegate>

//获取一个静态变量。非单例 可自行[[self alloc] init]形成一个对象
+ (instancetype)shareDelegate;

//默认
- (instancetype)transitionWithType:(GLTransitioningPresentType)type;

- (instancetype)transitionWithInstance:(GLBaseAnimatedTransition *)instance;

@property (nonatomic, strong)GLTransferInsetsObject * insetsObject;

@end
